#import <UIKit/UIKit.h>
@interface NSString (Utils)
- (CGSize)stringSizeWithFont:(UIFont *)font;
- (CGSize)sizeWithFont:(UIFont *)font maxW:(CGFloat)maxW;
- (CGSize)sizeWithFont:(UIFont *)font lineSpace:(CGFloat)lineSpace  maxW:(CGFloat)maxW;
- (CGSize)sizeWithFont:(UIFont *)font maxH:(CGFloat)maxH;
- (CGSize)sizeWithFont:(UIFont *)font;
- (NSString *)MD5String;
- (NSUInteger)getBytesLength;
- (NSString *)stringByDeletingPictureResolution;
+(BOOL)valiMobile:(NSString *)mobile;
- (BOOL)isValidPhoneNumber;
- (BOOL)isContainsPhoneNumber;
- (BOOL)isNumber ;
- (BOOL)isContainsUrl;
- (BOOL)isMobileFormated;
- (BOOL)isPwdFormated;
- (BOOL)isNameFormated;
- (BOOL)isBVNFormated;
- (BOOL)isEmailFormated;
- (BOOL)isAddressFormated;
- (NSString *)maskedPhoneNumber;
- (NSString *)rtmpURL;
- (NSArray *)doMatchCharacters:(NSString *)aTargetString;
-(NSAttributedString *)getAttributeStringsubString:(NSString *)subString PreFont:(UIFont *)preFont PreColor:(UIColor *)preColor lastFont:(UIFont *)lastFont lastColor:(UIColor *)lastColor;
-(NSAttributedString * )getAttributeStrWithFont:(UIFont*)font lineSpace:(float)linespace;
-(NSAttributedString * )getAttributeStrWithFont:(UIFont*)font lineSpace:(float)linespace wordsSpace:(float)space;
+(NSString *)formattedAmount:(NSString *)money count:(NSInteger)count;
- (BOOL)checkPictureFormat;
+ (NSString *)encodeMobileMask:(NSString *)mobileMask;
@end
